<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <div th:replace="~{/fragment/header :: header-nav}"></div>
  <div th:replace="~{/fragment/header :: header}"></div>
  <div th:replace="~{/fragment/header :: header-css}"></div>
</head>
<body>
<h3>ID：<span th:text="${order.id}"></span></h3>
<h3>车牌号：<span th:text="${order.vehicle.licencePlate}"></span></h3>
<h3>入场时间：<span th:text="${#dates.format(order.inDateTime,'yyyy-MM-dd HH:mm:ss')}"></span></h3>
<h3 th:if="*{order.isPayComplete()}">
  离场时间：<span th:text="${#dates.format(order.outDateTime,'yyyy-MM-dd HH:mm:ss')}"></span>
</h3>
<h3>缴费是否完成：<span th:text="${order.isPayComplete ? '已缴费':'未缴费'}"></span></h3>
<h3>缴费金额：<span th:text="${order.price==null ? '尚未缴费':order.price+'元'}"></span></h3>
<h3>是否开发票：<span th:text="${order.isPayComplete ? '开发票':'不开票'}"></span></h3>
<h3>停车场：<span th:text="${order.parkingLot.name}"></span></h3>
<h3>收费标准：<span th:text="${order.pricingStandard.updateTime}"></span></h3>

<a th:href="@{/order/list}" class="btn-secondary">返回</a>

<div th:replace="~{/fragment/footer :: footer}"></div>
<div th:replace="~{/fragment/header :: header-js}"></div>
</body>
</html>